import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import 'element-plus/dist/index.css'
import '././assets/iconfont/iconfont.css'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import './permission'

const  pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'


createApp(App).use(pinia).use(ElementPlus, {locale: zhCn,}).use(router).mount('#app')
